package com.itmk.system.role.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itmk.system.role.entity.Role;
import com.itmk.system.user_role.entity.UserRole;

import java.util.List;

public interface RoleService extends IService<Role> {
    List<Role> findRoleListByUserIdService(Long userId);

    UserRole getRoleIdByUserId(Long userId);
    /**
     * 分配权限保存
     * @param userRole
     */
    Boolean assingRole(UserRole userRole);
}
